home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / CBuilder / Setup / BCB / data.z / lmapibuf.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-09  |  1.3 KB  |  79 lines

  1. /*++ BUILD Version: 0001    // Increment this if a change has global effects
  2.  
  3. Copyright (c) 1991-1996  Microsoft Corporation
  4.  
  5. Module Name:
  6.  
  7.     lmapibuf.h
  8.  
  9. Abstract:
  10.  
  11.     This file contains information about NetApiBuffer APIs.
  12.  
  13. Environment:
  14.  
  15.     User Mode - Win32
  16.  
  17. Notes:
  18.  
  19.     You must include LMCONS.H before this file, since this file depends
  20.     on values defined in LMCONS.H.
  21.  
  22. --*/
  23.  
  24. #ifndef _LMAPIBUF_
  25. #define _LMAPIBUF_
  26. #pragma option push -b
  27.  
  28.  
  29. #ifdef __cplusplus
  30. extern "C" {
  31. #endif
  32.  
  33. //
  34. // Function Prototypes
  35. //
  36.  
  37. NET_API_STATUS NET_API_FUNCTION
  38. NetApiBufferAllocate(
  39.     IN DWORD ByteCount,
  40.     OUT LPVOID * Buffer
  41.     );
  42.  
  43. NET_API_STATUS NET_API_FUNCTION
  44. NetApiBufferFree (
  45.     IN LPVOID Buffer
  46.     );
  47.  
  48. NET_API_STATUS NET_API_FUNCTION
  49. NetApiBufferReallocate(
  50.     IN LPVOID OldBuffer OPTIONAL,
  51.     IN DWORD NewByteCount,
  52.     OUT LPVOID * NewBuffer
  53.     );
  54.  
  55. NET_API_STATUS NET_API_FUNCTION
  56. NetApiBufferSize(
  57.     IN LPVOID Buffer,
  58.     OUT LPDWORD ByteCount
  59.     );
  60.  
  61.  
  62. //
  63. // The following private function will go away eventually.
  64. // Call NetApiBufferAllocate instead.
  65. //
  66. NET_API_STATUS NET_API_FUNCTION
  67. NetapipBufferAllocate (                 // Internal Function
  68.     IN DWORD ByteCount,
  69.     OUT LPVOID * Buffer
  70.     );
  71.  
  72. #ifdef __cplusplus
  73. }
  74. #endif
  75.  
  76.  
  77. #pragma option pop
  78. #endif // _LMAPIBUF_
  79.